package com.ywjt.platformbusiness.store.model;

import java.util.List;

public class GoodUpTypeFragmentModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"1401841551052918785","name":"厨房卫浴","intId":null},{"id":"1401842329855488002","name":"住宅家具","intId":null},{"id":"1405094259935457281","name":"智能产品","intId":null}]
     * timestamp : 1624355821189
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 1401841551052918785
         * name : 厨房卫浴
         * intId : null
         */

        private String id;
        private String name;
        private Object intId;
        private Boolean isSelected;

        public Boolean getSelected() {
            return isSelected;
        }

        public void setSelected(Boolean selected) {
            isSelected = selected;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getIntId() {
            return intId;
        }

        public void setIntId(Object intId) {
            this.intId = intId;
        }
    }
}
